<script setup>
</script>
<template>
    <nav>
        <router-link to="/">首页</router-link>
        <router-link to="/index">列表页</router-link>
        <router-link to="/test">测试页</router-link>
        <router-link to="/lineChart">折线图</router-link>
    </nav>
    <RouterView />
</template>

<style scoped>
nav {
    background-color: #f5f5f5;
    padding: 10px;
    display: flex;
    justify-content: space-around;
}
</style>